//
//  KKNaVC.m
//  QinghaiTourism
//
//  Created by QianXiaoShu on 16/3/8.
//  Copyright © 2016年 QianXiaoShu. All rights reserved.
//

#import "KKNaVC.h"



@interface KKNaVC ()

@end

@implementation KKNaVC

- (void)viewDidLoad {
    [super viewDidLoad];
   //返回键位置
    [[UIBarButtonItem appearance]setBackButtonTitlePositionAdjustment:UIOffsetMake(0, -60) forBarMetrics:UIBarMetricsDefault];
  
    //left or right items's color
    [[UINavigationBar appearance] setTintColor:[UIColor whiteColor]];

    
    //设置NavigationBar背景颜色
    [[UINavigationBar appearance] setBarTintColor:COLOR_NAV];
    //@{}代表Dictionary
    [[UINavigationBar appearance] setTitleTextAttributes:@{NSForegroundColorAttributeName:[UIColor whiteColor]}];
    
    self.navigationBar.titleTextAttributes = @{NSForegroundColorAttributeName :[UIColor whiteColor],NSFontAttributeName :[UIFont boldSystemFontOfSize:22]};
    
}


- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
